package com.zjp.model.product;

import java.util.Date;

/**
 * 商品表
 * @author Administrator
 *
 */
public class Productinfo {
	/**
	 * id
	 */
	private long id;
	/**
	 * 商品名称
	 */
	private String name;
	/**
	 * 商品图片
	 */
	private String productImg;
	/**
	 * 销售价格
	 */
	private Double sales;
	/**
	 * 货物长度
	 */
	private float length;
	/**
	 *货物宽度
	 */
	private float width;
	/**
	 * 货物高度
	 */
	private float height;
	/**
	 *货物重量
	 */
	private float weight;
	/**
	 * 商品类目
	 */
	private String category;
	/**
	 * 商品规格，用于定义大中小号等
	 */
	private int standard;
	/**
	 * 自定义商品描述文本，显示在列表里，比如，热卖，辛辣等
	 */
	private String stips;
	/**
	 * 商品标签（折扣信息等）
	 */
	private String productTag;
	/**
	 * 店铺表t_shop主键
	 */
	private long shopId;
	/**
	 * 用户id
	 */
	private long userId;
	/**
	 * 1.上架；2.下架；3.缺货
	 */
	private int status;
	/**
	 * 有效日期
	 */
	private Date period;
	/**
	 * 创建时间
	 */
	private Date created;
	/**
	 * 修改时间
	 */
	private Date modifyd;
	/**
	 * 删除时间
	 */
	private Date deleted;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getProductImg() {
		return productImg;
	}
	public void setProductImg(String productImg) {
		this.productImg = productImg;
	}
	public Double getSales() {
		return sales;
	}
	public void setSales(Double sales) {
		this.sales = sales;
	}
	public float getLength() {
		return length;
	}
	public void setLength(float length) {
		this.length = length;
	}
	public float getWidth() {
		return width;
	}
	public void setWidth(float width) {
		this.width = width;
	}
	public float getHeight() {
		return height;
	}
	public void setHeight(float height) {
		this.height = height;
	}
	public float getWeight() {
		return weight;
	}
	public void setWeight(float weight) {
		this.weight = weight;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public int getStandard() {
		return standard;
	}
	public void setStandard(int standard) {
		this.standard = standard;
	}
	public String getStips() {
		return stips;
	}
	public void setStips(String stips) {
		this.stips = stips;
	}
	public String getProductTag() {
		return productTag;
	}
	public void setProductTag(String productTag) {
		this.productTag = productTag;
	}
	public long getShopId() {
		return shopId;
	}
	public void setShopId(long shopId) {
		this.shopId = shopId;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getPeriod() {
		return period;
	}
	public void setPeriod(Date period) {
		this.period = period;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Date getModifyd() {
		return modifyd;
	}
	public void setModifyd(Date modifyd) {
		this.modifyd = modifyd;
	}
	public Date getDeleted() {
		return deleted;
	}
	public void setDeleted(Date deleted) {
		this.deleted = deleted;
	}
	public Productinfo(long id, String name, String productImg, Double sales,
			float length, float width, float height, float weight,
			String category, int standard, String stips, String productTag,
			long shopId, long userId, int status, Date period, Date created,
			Date modifyd, Date deleted) {
		super();
		this.id = id;
		this.name = name;
		this.productImg = productImg;
		this.sales = sales;
		this.length = length;
		this.width = width;
		this.height = height;
		this.weight = weight;
		this.category = category;
		this.standard = standard;
		this.stips = stips;
		this.productTag = productTag;
		this.shopId = shopId;
		this.userId = userId;
		this.status = status;
		this.period = period;
		this.created = created;
		this.modifyd = modifyd;
		this.deleted = deleted;
	}
	public Productinfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	
	
	
	
	
	
	

}
